tests/gpg: Skip tests when subkeys can't be expired
authorDan Nicholson <nicholson@endlessm.com>
Fri, 26 Jul 2019 16:11:00 +0000 (10:11 -0600)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 27 Jul 2019 03:20:21 +0000 (03:20 +0000)
commitd2a9c8604eb6df7d88c4709f5d6d059bc1487c03
treee0971551c81795f9a900a79fa064c1054742915e
parent8ac348d19a38b0f1d84488d85152524449da767a
tests/gpg: Skip tests when subkeys can't be expired

The ability to expire subkeys using gpg's --quick-set-expire is only
available on gnupg 2.1.22. If expiring a subkey fails, assume this is
why and skip the tests that require it but run the actions that the
subsequent tests depend on. This was failing on the Debian Stretch CI
tests since stretch has gnupg 2.1.18.

Closes: #1892
Approved by: jlebon
tests/test-gpg-signed-commit.sh